package com.example.springbootmybatisplus.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.example.springbootmybatisplus.common.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 课程
 * </p>
 *
 * @author zx
 * @since 2021-09-03
 */
@Data
  @EqualsAndHashCode(callSuper = true)
    @TableName("edu_chapter")
public class Chapter extends BaseEntity {

    private static final long serialVersionUID = 1L;

      /**
     * 课程ID
     */
      private Long courseId;

      /**
     * 章节名称
     */
      private String title;

      /**
     * 显示排序
     */
      private Integer sort;


}
